package com.hjl.spring6.tx.dao;

/**
 * @author ServivE
 * @version 0.1
 * @className BookDao
 * @description
 * @date 2024/8/7 20:49
 * @since jdk11
 */
public interface BookDao {
    Integer selectPriceByBookId(Integer bookId);

    void updateStock(Integer bookId);

    void updateUserBalance(Integer userId, Integer price);
}
